(function($){
	
    $(function(){
    	
		//增加黑名单
        $('#addBlacklist').dialog({
            autoOpen: false,
            height: 300,
            width: 420,
            modal: true,
            buttons: {
                '保存': function(){
                    $(this).dialog('close');
                },
				'取消': function(){
					$(this).dialog('close');
				}
            }
        });
		
		$('.add-blacklist-link').click(function(e){
			e.preventDefault();
			$('#addBlacklist').dialog('open');
		});
    
    });
    	
})(jQuery);
